﻿using System;
using System.Collections.Generic;
using System.Text;
using DTO;
using DAL;
using System.Data;

namespace BLL
{
	public class CHITIETRANGBUS
	{
		public static List<CHITIETRANG> FindtheoIDLabo(CHITIETRANG ctr)
		{
			CHITIETRANGDAO b = new CHITIETRANGDAO();
			return b.FindtheoIDLabo(ctr);
		}
		public static String CreateNewID()
		{
			CHITIETRANGDAO b = new CHITIETRANGDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(CHITIETRANG bc)
		{
			CHITIETRANGDAO b = new CHITIETRANGDAO();
			return b.INSERT(bc);
		}
		public static bool UPDATE(CHITIETRANG bc)
		{
			CHITIETRANGDAO b = new CHITIETRANGDAO();
			return b.UPDATE(bc);
		}
		public static bool DELETE(CHITIETRANG bc)
		{
			CHITIETRANGDAO b = new CHITIETRANGDAO();
			return b.DELETE(bc);
		}
	}
}
